﻿#ifndef EXPORTRECORDOFCHARGE_H
#define EXPORTRECORDOFCHARGE_H

#include <QWidget>
#include "Global.h"

namespace Ui {
class ExportRecordOfCharge;
}

class ExportRecordOfCharge : public QWidget
{
    Q_OBJECT
    
public:
    QLabel* time;
    QLabel* signal;
    QSqlQueryModel* accountModel;
    explicit ExportRecordOfCharge(QWidget *parent = 0);
    ~ExportRecordOfCharge();
public slots:
    void on_Keyboard_clicked();

private slots:
    void on_buttonOk_clicked();
    void on_buttonBack_clicked();
    void on_buttonExportAll_clicked();
private:
    QDataWidgetMapper* accountMapper;
    void keyBoardConnect();
    void keyHandle(QPushButton* btn, QLineEdit* lineEdit);
    Ui::ExportRecordOfCharge *ui;
};

#endif // EXPORTRECORDOFCHARGE_H
